Added View All

Added view all table, cleaned up some code, and added some comments