Refactor Python files to CamelCase, refactor searchmanager functions and more