added docs, more tests and correct conversion from FirstOrderTheorySyntax to solver specific syntax