add frame test
rename fields
refactoring buffer
add command
merge lens and record