create doc folder
documentation of code updated and cleanup