POM cleanup

Cleaned up POM file for Sonatype deploy, and also migrated core API into a project submodule.