Code Cleanup and Auto-Refresh

- made the module look cleaner
- made list view refresh when clicked on