Added support for static resources
Changed build from stand alone app to war