Add photos controller

It closes #47