Convert PowerActivity to use fragments

Convert PowerActivity to use fragments

fixes #49