St. Marys man in court for hit-and-run charges