refactoring code, deleted database to change to config; video 25