Power upgrades

This pull request implements power upgrades. See https://github.com/clintbellanger/flare-engine/issues/877 for description.