[IMP] remove unused lib, variable, methods + apply pep8