Change mark2::server to a resource