Started config file support. Started support for tests.


Worked on supporting configuration files. Also added some basic support
tests.