Logic for SD and file handling

Added the logic for opening the SD card. Added loop - handling. Needs to
set up and read from all the sensors, preferably in their own methods.
Moar

of the same