added end points and tomcat deploy hooks