Stored queries mutable state side effects issue

This fixes #205

A wrapper has been added on top of `DataTable` to avoid changing the shared static symbols.