Beginnings of the portals

Can make a swatch. Mostly scanned code for understanding re-factoring
the smelly parts
Trivial