Moved text doc code to proper folder