Added basic event system. Very WIP