Reorganize structure, include saving to database of images, update mongolink module