Unfinished initial commit

Needs some touch ups and the Permissions systems needs finishing