Removed unused imports
Change log level from info to fine
Added constructor for situations where no local repository is necessay (i.e. get only the available versions)
Make sure the code works when no logger has been set
Added version build parameter