Added performance test, README and comments to source