API cleanups, power flow basically working