removed unused files, added documentation to headers