refactored models to be objects instead of static methods.
changes models to use schema as internal object
load modules from project path