Routes and migrations

@ksolo @ltw