Corrected java version in pom.xml, Added a listener class, And alot more core code...