Add checkstyle "Header" module and fixes the license headers - fixes #57

Reformat code and fix other checkstyle warnings