added comments and removed unused files