Refactor code, put current distro manager into default plugin