[add] rspec and configure. some chunke of code