move dealer actions to dealer/server file