further work on categorized object
add rake file and stub for db tests