CIDEVMI-1335 Creates initial function for HYDBB

Creates initial module for HYDBB under hyd_functions and provides code for HYDAPBB

@s-pearce Ready for review and merge.