added window wrapper

just a start