java8 support

Closes #12 
This class should dropped, because its not used anymore.