Create PRINCIPAL.py
Merge pull request #1 from Betio/patch-1

Code merged from Betio fork.