Moved functions to autoload directory.

Added function to handle adding syntaxes to a context.
Moved all functions to autoload directory.