todo notes and mysql connection function stub for scheduler