refactor of the brain, implemented a proper pipeline, reorganized manage, and rehauled the similarity system