Implemented enumerations for Windows and Frames. Added tests