New functions inclusion file.

This change separates the functions from the index file so that they can
be included into any file.