Window class created - generic class for creating windows from datasets