Custom Score Query and provider

Added Code samples for the custom score query and provider part.