refactoring: moving unitname to unit.c.
also removing static-string some cruft from config.c.