move hud related stuff to own package