Adding some new features like getDistantBitmap and Palette