Added Upload to DB and Compression