Changed the internal data structures

Added NSHashTable to hold UIIMage and UIColor objects.