added parsing of socrates input
added dummy method to parse delly input
added sorting and merging of nodes from the input