adding optional support to use custom callbacks on defined_sequence
adding test for custom sequence callbacks
adapt readme