Moved unittests, cleaned repo, basic event handling