Added some method to database;
Added Models getters and setters.