Reverting "Create connection to db."
Reverting "Using the SQLAlchemy Expression Language instead of ORM"
Revert "Using the SQLAlchemy Expression Language instead of ORM"

This reverts commit d5eb953ee0c80feeed106dad0cbb728da28fc5bd.

Change-Id: I448d669fdb224caa2d4fb9a0d91566fca656b50d
Implement resource_data_get and resource_data_set.

Change-Id: Ibc21c50d44161cb94098b6883f18921fc20acab3