added instances of controller and UI
added run class