renamed create_quad to set_quad and moved to oaf_quad, fixed read quad