implemented MAID modules and its test code.
add idleness watchdog timer. And fixed a bug about buffer write
bug fix. changed period time unit from SECONDS to MILLISECONDS
Changed the type of Exception to higher lever in catch clause