implemented getting contents of history, fixed a number of bugs, added test data samples, fixed resource file and resource directory structure and improved code here and there