Add pom.xml and move core files to maven source folder