changing paths and moving common code to web-apps-common