Added idea project files and changed build to generate a war file