wip: share modules between api_app and admin_app