add checkstyle.xml and apply checkstyle plugin, added findbugs too