refactor somethings to make it a bit more readable
added a type flag so you can track more than just done items
fixed shell function in readme to be functional