Fixed compile errors and implemented paquets in host, removed unused methods