[Core] Finished basic implementation of role check system.
* Needs testing and most likely more work done to the system (just a
* hunch)