Removed unnecessary imports, comments, and indented everything