refactoring and finished adding projects and activities, and register item