Added support for config reload. Closes #8