redid some of the lua wrapping. Added some additional server commands