Cleanup coremod code, server side working now.