sets up objects as model if passing POJO's, adds new minified version, adds unminified version in build script as well