Added source code, javadoc and test data