Add generic api client; fix path problem in nova