Added simple jdbc template settings and implementation of MessageDao
Merged with old develop branch changes and reverted it