added vcr and webmock
began refactoring core module into gateway