Rails 4 : Use new scope syntax
Move WMS client to a Service