Full refactoring of API : removed Hash class and replaced all API calls by simple Object instance instead of Dictionary.