refactor script / template / style file loading
support packing up compiled and minifed scripts, css, etc for quicker start in prod