added UNIT spec, added basic WRITE parsing