added initial logging framework