Function & EH Reorg

All functions moved to individual files.
All EHs moved to addPublicVariableEventHandlers.sqf with server check
for server side specific EHs