Built initial UI, some logic