Refactor image method into separate class. Inject this as a dependency into OpenVZ class