encapsulated camera control in its own class, added line buffer and
callback function for buffer, more comments
comments