Removed unused imports
Added mvn command to execute main method
Added logging
Switched some System.out.println to log4j