rename: lib/frame.js to lib/window.js