finished daemon
added console task
minor fix on daemon