done the stuff for using a listview

Sort out access modifiers.