index part almost done. start the mailbox part. lots of bugs need to be fixed. TODO lists updated.