Implements a PowerPlan class and adds basic logic to it