Migrated the hook code for the tank boss to a separate file and fixed bugs