Revert "Added basic plugin and event system."

This reverts commit 55fe9189a6593be7def7b9852ff8a9334f3396dc.