Fixing delete company by cascading deleting to offices
Adding data base constraints to the entities