Move app API to apps