App/binding: move binding_api impl to its own source file.