Added service wrapper and logfile