Implemented main functionality of image browser