main app for ruby on rails tutorial