updated wordpress_tools
use wordpress_tools helpers
extract main logic to separate class
added travis configuration