Big cleanup and refactor, with some test fixes.
* move the hash into the directory method where it belongs
* more cleanup of the better dir class
* remove json array
* test the real public interface, clean up methods.
* add handling for not found folders
* view cleanup and add favicon