support loading configuration profiles from env var POOTLE_MANAGER_PROFILE
move some functions to clarify code
Fix bad variable reading from config profiles