seperating api out into ss routes.