Fixed repository URL.
Use refactored class structure.
Added logrotate setting.