1. Implements the idea of internal signal system;
2. Added standard c/c++ comments for some .h files.