refatored into new document class
Bump to 0.0.5