A simple java shell framework