cleanup file tree and remove puts, comments from files, cleanup requires