Setting up app in rails