Load and preprocess data