added documentation support, more detailed documentation forthcoming