refactored logger.

updated FileName
refactored Controller
updated webservice