refactor

remove unwanted code
fix up tests
cleanup

organize imports
fix bad package name
add missing copyrights
delete unused files