Fix typo
Refactoring, colors and write support