Starting to add portal code

Thanks to awendland from WarpPortals for all the help!