Added template loader functionality + tweaked the module system to be more like WP plugins.