Added better comments to represent classes better. Also added a new bitmaplrucache class to handle caching.