Update Search class to accept options as a parameter