Add base rails framework