Made GPortal class