Adding rails architecture. What have I done.