Refactored to maven project.