changed project to maven
refactoring