Added Image main class, GD adapter