adding a sample app for easy testing
added a base adapter to make sure the init() method is called from most cache method calls...
misc updates, refactoring, and bug fixes