Moved ExtendedRepository to Core
Minor fixes & Added deploy-tomcat.sh