initilize RoR framework and 'Topic' model