text reader and schema from text
minor improvements