Introduced model and some view classes for the new database schema