adding categories tables
updated search.py to populate the db
A working version of category storage