refactored grammar a bit
correced select into parsing and deparsing
updated readme