Initial commit of the HAM layer.