move site access time to actual write time (in dm, not tm) close #12, and general organization