Migrate to Rails

@SeanPryor