Removed duplicated code with regards to projectID generation.
Merge pull request #48 from ahjohannessen/dry-improvement

Removed duplicated code with regards to projectID generation.