added basic schema parsing