Feature/windowclass

Generalized Util functions to accept WindowClass arguments.