Profiling requests
Fixed tests
Fixed rubocop issues
Merge pull request #174 from korczis/rest-factory

Added profiling