support i18n
update .gitignore
add models
enhance error handling
support big endian machine
code cleanup