Make application DB host agnostic

This closes #3