move all sql-statements to library object and define some custom functions
removing executeable bit from images
removing unneeded entry object
remove unused icons