Added automatic SQL processing anytime an api method is called so it will auto create the necessary tables if they are missing