go fmt core/apiRouter.go
Add semaphore to verify sqlite database is created and ready before file operations begin