created sp function

added 'new' to all instances of mineos.mc to fix instance identity issue