fix API and BC locations, start porting