added base sd card api

Merge the sdcard functionality to master, there is a bug in reading a single byte but we are not fixing that for this sprint. Do not delete the old sdcard branch.