Oskari.Application object to class change