Moved Client to separate file
Moved Client to separate file
Moved Client tests to separate file
added activerecord tests
converted to 8601 standard date formats