improvements
Implemented read from file
fixes to signaling