Adds the main models and defines a simple window