add specs for spinner class
rename example file
revamp example.rb