Added some documentation and basic set-up for tests.