Clean up hal

Signed-off-by: Alec Ari <neotheuser@ymail.com>