finetune code and add new project Mediator