Get table from mem

The get table from memory functionality is now working. Since it is a larger change I open the pull request even though it can be merge immediately.