added PowerManager
formatting on mapGenerator