final version, fixed some bugs relating to small trace files, included very basic readme and tests