Adding frames and setup for gui