minor fixes

moved engine call variable from connection.php to classes.php