improved cli README
added example and improved documentation
restructured code

This is just some code cleanup with restructuring stuff to be more concise (like better filenames and stuff being
collocated that belongs together).
more documentation updates