removed global structure, fixes #8
bumped to 0.0.5