Add db objects for SLA contracts

Adding the objects for the contracts
Merge branch 'master' of https://github.com/lcostantino/healing-os
Adding the integration with db for SLA contracts

Implemented:
. Objects
. Integreation between api and objects
. Cosmetical refactors