ignored checkstyle
removed unnecessary semicolons, casts, imports. Resolved a few easy error suggested by eclipse