mongodb, sql and node-orm2 added plus refactoring and models