add configuration validator class

- remove configuration validate from helper class and create a configuration validator class
to validate the configurations
- rename $required_configurations to $rules in the amazon provider class

Fix #12