Made a major code cleanup that incorporated most the responseGen.php file into the knowledge base. The UserData and KnowledgeBase classes also got their own files to further simplify things. Also, the generation of the knowledgeBase was turned into a function to also simplify program flow.
Added simple pattern priority setting for induvidual patterns into the UserData class.