First commit, implement a partial of the HSA wrapper.