add Page, fix Publication and other bugfixs
delete database.yml
Merge branch 'pages' into dev