refactor Binding class into shared module