Set up as a class-based application