Externalised config. Closes #7