Building up database controller.

Added a basic user database model and the controllers bootstrap.