Initial decode varInt support, some Refactoring