move api features to ApiController