added ui setup code
added some basic menu