add arg checks
add invalid command check
ignore .txt files
fix len check for lookup
add create, add, lookup functionality