Initial version of generic list class.