creating the files for a deployable war - TODO migrate to resteasy