Add minification support for building for production
Fix some path stuff