Added library for viewer
Working viewer adapter and thumbnails