Shell interface written in Java to read and execute commands