Added apt-mirror configuration
Use salt grains to reference the right host
Code refactoring