Implemented backend for image sending feature.
Closes #3.