removed redundant define
removed old event system networking code