added ImageAdapter class and configured