Working parsing.
Need to clean up code.