Adding migrations and routes