added logging and webservice implementation
added logging and webservice implementation