[DB] Put everything in a precompiled header. Also added a controller.h stub file.