Remove redundant files and add test files
"member" can be a table/view, add support for RESULT_CACHE