Fixed the naming convention for signal generation function
Implemented Unit.java for unit signal