remove unused projects, refactor logging.