Some stuff done.
Most functionality working.