Adding a basic parser interface and checkstyle rules.

Fixing checkstyle errors.