Merge pull request #133 from twogee/new-instance

Class.newInstance() is deprecated in Java 9+