Simple parser and basic functionality