add support for nested placeholders; phpdoc
Fix include process