initial libgrub functionality imports