Move SQL string to meta
fixed bug starting TMS
Merge pull request #52 from dannybutler/master

Adding server side processing
Catches uncaught PRAMGAs
Merge pull request #53 from alexanderson/master

Moved SQL string to metadata