created UI, added activity transitioning code