Fixed remote calls and events. Removed pointless files and modules.