fixed bug of logging module
add color io module
improved logging module by using color io
improved tool for linux platform by using color io functions
add buffer module
finished the implementation of buffer module