Added portal core to master branch