removed setters and getters from type property and implement it with 'attr_reader'
Changed the spec file so it won't check google API
In order to do so, i used rspec stub for stubbing the api function