1.8 support and api rewrite

As the 1.8 version is stable now and 1.7.10 is no longer used, i think it's time to merge the 1.8 branch