Integrated checkstyle plugin and made fixes to the violations as reported by the checkstyle plugin