Updated Socrates example

I still have to test if everything works like it's supposed to. Will push further commits. Shouldn't be merged yet.