Implementing a simple camera system