adds category heirarchy with STI
adds transactions and finishes the relations between all models