Seperated out a flow library as cameraFlow.rb will be used for initializing the program, and added spec for the flow library