Tests

Started writing tests then writing code. Main activity first.