Split REST API to separate repo