reorganize a few things, use response class for providing result not String of tuple