Added backbone structure to some functions

Outlined a possible way to implement checkFunctionImplementation.

Created checkFunctionDeclaration to check if the function has been
declared correctly.