Setting up the basic structure.