created categories class
further replaces
further replaces
add tests for activity