continued work. start testing files.
flesh out new singlton requirements
setup to use phpunit testing
add other test classes
Fix comments
setup book test
use protected varaibles for objects and arrays
include all models
try fixing for first save
fix for empty array
add content type
pass by reference
use references
setup documentarray
simplify objects stored in documents
fix poorly made models
add ability to subclass array and objects. Cleaned testing.