sets up RoR framework