small refactoring and autoformat
return Null instead of throwing an exception
Merge pull request #15 from simplethings/bugfix/create-project

Bugfix/create project