Inner Classes: simple application framework example