remove main from UserInterface Class