Smart Multi-Purpose Home Gateway