get rid of APPLICATION_* constants