Added primary support for UTF-8 encoded batch files (parser doesn't fail on them but parse utf-8 chars as bytes). Parse method refactored: all parse unrelated stuff extracted to main.cpp.