add project manage, but there are still a lot garbage code