Move configuration to file.

@njam Please review.