If somebody could point me to a guide to writing both the mixer and init scripts it would be appreciated.