Implements basic REST API for powers.