Fixed bugs and changed library.rb file name