fixed images not being saved correctly to db. Removed mysterious mapping folder