Complete refactorization of code, this can be follow in https://github.com/kazeborja/CWRFormatValidator