Initial schema support

I reworked schema support in the python driver.
Could you please review it?