split off Rails prototype and terminal prototype branches