Cleaned up regula directory and added Logging.php for codeigniter