Moved MemoryStream to XboxInternals

Also cleaned the class up so that it inherits from the BaseIO class