Initial commit of HD support