add abstract console writer
add method