fix case
update to make masks handle lists
add list masks
add cases to cover class/constant lookups that were causing issues
add more list tests
and fluent interface for testing
change return type