defines and a few other duplicate settings moved into a new file /inc/config.php used by both the CMS and the font-end
- Added new method di->load_class() designed to handle instantiating new classes where needed, this will also ensure the new class has di in it's scope by calling set_di() for you (warning, if you pass an array to the $constructor_arguments arg then a reflection class will need to be used and this does come with a small performance decrease so please be aware when using this and where possible try and create a setter method to pass the required argument instead).
- Other files refactored to make use of load_class()