Add a class that extends application