Added more phpdoc and reponsive logging messages