Implemented and clarified distinction between subjects and principals, create a default authorization module
(BROKEN) Massive refactoring, dataAPI not working