Should I apply directly to professors? Should I contact professors ahead of time?

You apply to the program, not to a lab. List the faculty you are interested in on your application. Writing to them in advance is optional.