added entities + basic tests
formatting
client tries to create entities from the results
optional result to entity conversion