We were given the following assignment: Application: The App is instantiated with the Controller as an argument. When started, the App prints “App started” on the screen and registers itself at the Controller. Every 2 seconds, the App sends a heartbeat to the Controller and prints “Heartbeat” onto the screen including the current time. With