created method to register hives to the environment as well as the simulation
added method to register flower to the simulation as well as the environment