starts work on rails api