Grid implementation moved to the API