Make App a class