Class I and II pressure vessel