Update MemoryRouter.cs

Added access modifier