Add a config thingy

I should not be doing that, but oh well, it's so easy with java8 :)