improved dependencies, tomcat 7 permission fix