add more docs
rename classmanager
add more tests