Introduce list header

  o Change clrk_input() API to malloc() and free() in the same function.
  o Remove log messages and add some comments.
  o Add '$' key to jump to the end of the project line.