use mysql database

make the todo controller as main