refactored service provder - register event listeners & repo binders