make trace_stack upper case
add renderer
requirements.txt
extract render_to_file into its own method (rough draft)