adds basic SQL object functionality. Can return results of self.all call