Implemented multiple divisions
Added some missing foreign key constraints