finish database
add window.rb