Implemented two queries in new_topic_model, header update in all files and various little stuff