Moved name doc to __init__ in Data.
Make sure Data.scale is a tuple.
Added Model class with tests.