Multiple view changes and controller changes.

Images are put in the database with smaller resolution (for smalle
memory usage) and are shown at the Index of Database controller. Must
fix the EDIT!