moved hx sources to src, added sublime extern stubs, add build file