[new] added the __init and __exit macros for memory conservation on loading