Made SQLConnection non-static

Also added method for getting names of columns when given  table name