Added App::protect(), renamed Db to DB