adding spec file and an example of usage