The code so far. Image capture testing and another screen will be needed.