fix unnecessary format in wikiprogram
optimize imports
construct training data and tests for training search
construct tests and gen latex files for training data
add refactoring comments
added training queries into new file, working main IT
refactor parameters in wikimainIT