Building UDFs

Design, build, and test UDFs.