Application extracted to a class