Create a Bitmap class to encapsulate that functionality

In preparation for using bitmaps for other purposes in the heap.