Add Guilds

I think this is all working but if someone could check it that would be even better. If there are no problems I will just merge it :D