Initialization (__init) and exit function coding completed