removed unrelated funcs. Still very outdated
removed old files no longer used