refactor project to work on maven