initial pass at transitioning to everything using the rest API