added Mix class, finished initialize function