implements configuration class, with unit tests

This pull request is intended to track progress, and should not be pulled at this time.