Added init and destruct to misc.cpp
Externed init and destruct