redone API calls, added routes