clean up files and add documentation