1. Building the persistence layer.