Implemented power debug tool.
First version of locomotive.