Remove Old SQL Query start method and replace with a JSON Query start Method

get to a working method
Merge pull request #12 from Giftie/sql_to_json

Remove Old SQL Query in favour of JSON RPC Method