Add Checkstyle config and fix style issues (close #2)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>