Main activity

Checked in with a major bug.