data to options - sqlite
new model with AbstractFactory
details