more advanced scheduler, database for main project improved