Add libkml support
Add PG and MySQL support