update libraries and add home controller
1st draft