changed to mysql adapter
edit/delete for contract
added init.sql for creating categories and stuff