Preparing to hook up GUI, added api example