Basic task listing implemented

Also added priority field to the task table.