completed sd init procedure and added read block functionality