removes print and debugging stmts
removes unneeded functions and classes