Main activity created.