Migrated to Class

Created a class file out of the piCam script. Will make it easier to
implement into RaspiFlight later on.