remove unused constants
make all regexps constants

To prevent Ruby from initializing them time and again.
remove unused code
change wording in tests and clean up list-test