add empty cas-background
update library
futz with term rewrite system