Change the way FrontController initializes. Fix late static binding for Db class.