simplify build.hxml
clean up imports, misc formatting
add a few simple tests