added basic architecture for parsing objects