Moved Document into Thomas9.cpp