Added some documentation and test files