Modified theories of gravity: Why, how and what?