Migrating to maven

Added separate modules for test and the app. Created pom files for each.