Shale oil refinery