added removeLineList to imageDetails class.
removed duplicate functions.