add completed and incompleted todos
add ajax task completion
ajax todo completion and some refactro