Started on the main program.

Only some visual stuff done so far.