user can now define their own compression codec in g.getConf(). Fixed #146