Made the architecture more future-proof!
Be sure to copy the connect.php to /app