initial commit of existing code
includes some coremod setup stuff too