New functionality for constants
added hashmap lookup
changed finders:
  findall - uses lookup
  findbyprimarykey - uses lookup