update documentation and fix bugs
removed unnecessary files form main branch