remove unused files
add resource close method
add test files
add close resource to input reader
unfinished indexer tests