Added power, revenue

Main changes included basic structure of power, revenue routines. Tank
routine updated (error tbc)