Cleaned up code; separated converters
Implemented image resizing
Fixed simple upload form
Code cleanup