comments, tests, testable code
	* Comments that are compatible with appledoc
	* unit tests for globalcache (run as application level)
	* refactored code to test more incrementally