modify application structure and setup rspec