added __init and __exit to module 
init and exit functions