Add settings.h and types.h; Improve TankController;