initial commit of portal class.
initial commit of portal test (to be written!)