feat(server): define config schema using convict

Closes #3