Added a permissions system, no GUI yet