Move configuration to file. Closes #14.

@njam Please review.