trying to fix issue #31

folder names added to namespace generated for classes, macros and variants added to project folders. please review code changes and try to test this feature before accepting the request.