Fixed issues with modules
Added 'CLI' to methods in Core::notFound()