A framework for creating Java console applications