Initial commit of function codes.