Added ui. Added connections between main activity and BTree classes.