Refactored plugin

Setup travis
Tweaks