Added checkstyle plugin to the maven build
Removed System.out from the code
Removed printstacktraces from the code