Add cascade deleting and fix some models