Create library.rb

module Library (implement switched by Ruby versions)