Working on issue 101. Ability to have configuration via code.

Maybe something like this? Thoughts?