Created an images model and controller