moved management client to lib directory