maphighlight working with a mod, woot

also moved stuff to lib in prep for Grunt