fixing constructor issues and pointing new mongo schema factory class