SQl Updates

Added SQL references, function shells, comments where processing should
be
Re-added my SQL functions

The core.cs didnt get committed for some reason.
SQL Updates
Merge pull request #1 from Vl4dim1r/master

SQLPlugin filled in