changes to use class in Swifty, still compatible with original 2.4 version
add automatic installation of needed plugins