starting rails API