Adding database model beta 1