Merge pull request #72 from cgcostume/init_and_shutdown

Added init() and shutdown()
Whoops, missed mergeconflict