Add a general service struct and some config.