cleanup: removed large portion of experimental and obsolete code