Refactoring.
Refactoring; add list parser; add parse function.