separated classes into files, added test
remove pycache