Restructure methods in Installer
Rename subdir to subpath

as normal files may be affected too
Added some comments