separate record and record_id
add base attributes
fix lookup for class
fix parsing record
update