Initial rails generation