cleaning up unused classes, cleaning up code style, bug fixes in image display from uploads, adding image file validation with Apache Tika