York accepts $1M for mental health services for at-risk kids to try to keep them out of trouble