Add project merging. Needs refactoring.