Added support for $HOME/.mainstaller config file
Fixed installed directory
Renamed
Added support for env.d
Fixed installed directory