Add routes to database. Still needs to be made idempotent