Moved checkstyle.xml, edited pom.xml, cleaned the code in MainFrame.Java.