Feature restore location

Initial changes to favor user profile for runtime and restore packages location
It uses "HOME" if "USERPROFILE" isn't defined... Not good enough?