Refactored client duplicates, added to_hash method to models

Cleared duplicates in Client

Added interface param to run_request

Changed inspect: return model hash

Restored and extracted inspect to module, added to_hash method

Tests for to_hash