Follow the tutorial of Michael Hartl - Chapter 3