add class, fields
add criteria
add basic search function