Cleanup project model, and add support for duplicate project. Closes #72