Unloading

Working for globals, enums, functions and classes, still to do (tempalted functions)