refactoring project and project category