I read the first and second books to my kids when they were younger, and forget many of the characters. Grindelwald must have appeared in the later books. Who was he?

Also, (and here's a dumb question) Dumbledore was the headmaster of the school, right?