Extract DbConfig in config.php
Add mysql dialect for all project file. Add js related stuff.