initial commit for rails conversion