Adding Working PermSystem etc

Finally managed the PermSystem working and some weird stuff