ensure that fields are initialized before parsing
handle entity and field parsing for add command
add relation to index after parsing statement
add handling of values for add command parsing and remove redundant attributes
remove more redundant attributes
add some docs for the parser
memory management with state