Moved the definitions in the lib folder
Kill support for Ruby 1.8.7 and 1.9.2