Refactor: extract common parts into common include
Add installer for host, guest