prepare the home and manage tpl and deploy the needed res