Implemented spatialite layer and in-memory layer