Initial commit of the portal code.