List view now works

Managed to make listview work properly