refactored set method and trying add validation
changed format invalid
changed to correct gem name
added some tests
added test database
added spec helper