Adding new resource as layer to handle databases interactions

this is the first part of the work needed to have an HTTP based interaction between the worker and the REST.