DDF-163 - added checkstyle rules for code formatting and formatted all code