rename class file
refactor the code, add support for v2.0+ installations, add simple tests