The first thing you do when you design software is model the solution.