added library api and impl to communicate with the amarok-remote script-backend