GUI: basics

added gui API, made gui prototypes