Create classes and DAO