adding spinner component

to merge