Added classes to add bitmap to memory