We came over from Prestashop. In Prestashop we were about to create an new page and still use their build in classes such as their database connection. Simply include the configuration file and thats it.
Is there anyway we can do this in Magento 2? We used these file for testing mostly and to write scripts to be used for adding data in the database.