Add Base.h.
Add Synchronized utilities.
Rename internal semaphore object in semLib to avoid conflicts.

Signed-off-by: untitled <me@tonypeng.com>