Added templates and image processing working.