Added Core::redirect and Core::notFound methods