Fixed bug after moving classes.inc and database.inc