add function _open()
add _close() function
add _read() function
add _write() function
add destroy and garbage collection function
Merge branch 'overriding_session_function'