changed pom and web config, start class was refactored.