update library
add test for adding/exporting layout
update library
test doc level