Modified the project structure and added a maven pom file