add full alignment and half alignment command to "communicator.java"