Yes normally i have a separate views module in /ui for all these but since algorithms are objects that can be added by 'users' I wanted to have all the related stuff they would need in one place (ie they could use the default view as a model if they wanted to customize the view for their algorithm) .  I think it would be easy enough to move all the view code from here to the /ui/depth_line_view if that is better.