add support for global layout setting and partial subdirectories, bump to 0.0.2