* refactors block fetching function to fetcher * more comments fixed * Merge branch 'master' into init-sync-optimizations * moves helper code into separate file * move test setup code to testmain * removes bench