Added base for clients.

Simplified models.
Added base for clients.