v0.1.1: changed API, allow to pass callback as instanciation options, added tests.