created an application class, which corrected a services bug