Made changes and bugfixes as a result of using DaText. Still need to tests lists inside lists.