Implemented Unit.java for unit signal