Advance with entry/exit callbacks

I removed init wich was advance duplication and moved the entry/exit callbacks in advance.
so the entry event of constructor's state is called.

Tests could be done for entry callback.