Model Factory Support

Home rolled JS DI added