Everything you mentioned is either not part of UBB.classic any longer, or is part of a hack that is almost certainly no longer installed. It should be safe to delete everything. If you're not sure, try renaming everything (by, say, prefixing the names with an underscore, so memlett -> _memlett)
If things don't break with the rename, then it's safe to remove the file or directory.