Opensource DIY clothes dryer

just been fooling arround with my simple "setup" sketch so now i can update wifi config...

have tried to figure how i could add a single cycle so that i could start it remotely, later i would add local start of the cycle...

a guy made a dishwasher controlled by arduino and its very logic to me how it runs, but how could i do it over wifi?

i can redo the main page no problem with that.. what i would like is at the main page i click a cycle... it should then draw a page that says what cycle its running and sensor values and target vaules... temp reading could be done with a one wire dallas chip and heat control could simply be on/off for now. for moisture sensing i found this http://www.digikey.com/product-detail/en/CHS-GSS/445-2575-ND/931221?cur=USD it puts out 10 mv per % so 100% is 1V and it can be driven from 5V supply

so what i need is pointers on how to make a cycle... i have a mega so there should be enough pins. for now lets just say 1 pin for drum rotation and airflow. another pin for heat control. and 1 pin for moisture sensor and another pin for the dallas chip.

my dryer do reverse the drum direction every now and then for about 5 secs. i guess its to keep the clothes from going in to one big ball.. would like to keep that and guess it requires another pin

my code is taken from here, i have only added "back" links to each page

http://notebook.kulchenko.com/embedded/storing-wifi-configuration-in-eeprom-on-arduino