Remove usage of ApplicationSystem in servlet