Created the Rails API