main app for rails tutorial