more refactoring.

1.  removed unncessary functional interfaces and stores in favor of java8 consumer and function functional interfaces
2. fixed bug in keys, values, and record so that isPresent methods are not calling the get methods.