Parsing fucntion practically complete.

The parsing function is as complete as it can be for now, as it can't create anything before i supply the storage framework for storing the dummy tree
The new constructors for the shapes need written too

Refs #3737