added simple checkstyle configuration
adjusted style to match checkstyle requirements