refactor model

set _id as a class attribute for Model and overwrite __init__, to_dict