initializing model with a hash instead of explicitly

Signed-off-by: Mike Kauffman <mike.a.kauffman@gmail.com>