added parsing and basic schema functionality
changes in api