Set up main interface