added generated dao and view classes and sql script