added to the database, refactored code for db
made the image shown in the details view persistent
added some styling, tried to make automatic refresh of details view after adding tags