Refactored with maven checkstyle plugin

Added suppressions.xml file with one file to be omitted and refactored all checkstyle errors. Related to pull-req. #636.