Encoding fixed, all messages moved to Messages.py