move bet api to player application.
add bet api here.