Updated comments and a code layout
Moved hashdb files around a bit