Added controller.
corrected function projectPrefix typo, added Image model
fixed typo on Image model and  added tests for it