Initial commit of function sub-library