Moved the checking of the actual project dir and creation of it in the c...

...onstructor