This improves the implementation by introducing a class to manage the characters
No changes between version 4 and version 4