Refactored bitmap methods, added LruCache