Introduced checkstyle.

Started checkstyle fixes.