[REFACTOR] Ported to Hermit

Now compiles!!!