Moved gui interface to core