create default config if it does not exist
refactored method for creating project folder