Create config functions. Closes #9.