Portal Agent/Consumer

First attempt to split up the portal to agent and consumer sections