Added functionality to create and edit lists