Refactored product factory
Added travis badge and ruby 1.9.3 for travis