database migration

Completed database migration and changed URLs for APIs.