Setting up basic rails