Adding main class to pom