Added thrift methods in service handler,repository (#28)

* Updated database fields and models

* Added thrift methods in service handler,repository
18 files changed