remove vaxe autogen file
add EventManager singleton
convert obvious event-driven parts