updated the implementation of RefCounter for egame
add Singleton module for proto
add thread module for windows platform
add Thread module implementation for linux platform
updated global header with common utils tools