Loader is now setup in main 'index.php' to avoid '_PHP_INCOMPLETE_CLASS_' in some case, such as session handling
re-register loader to avoid namespace-not-loaded error in console mode