Add abstract factory pattern for create Mysql and Mongo connections