add init functions to model classes current creation happens like this  I think this would be easier  or this 