move entry-related stuff to common.js
add tasks

* TODO implement Add button for task lister