Add list and field manipulation functions

I have tried to follow your line of work to add the functions for lists and fields. It's a very good code base and easy to update. I also added basic tests, again, based on the existing ones.