Split up configuration, fixed up the alarm renderer and deprecated part of the API.