Laying the Groundwork for the Rails rewrite