moved management to api