Implementing internal eventqueue to not need the user to push eventrs