update code base to utilize class based and generic views