Merge back-end modules

Merged back-end modules and further decoupled database and UserInfo
objects