removed all references and uses of server.config
added mc.sp and mc.write_sp