Portal generation

Done.