Rewritten __init__ method od Model class