Added a lot of functions, clan part is done. Deleting characters too.