Initial commit of the portal code, based in rm 4745

This is the initial code for the portal, with the available services mechanism in place (pending the automatic population of the services.json file, it contains the lines from the issue description).