add support for mysql
modify routes