Changes to better separate data from logic. Added ability to reset lists.