Split API to it's own controller