fix #1 thanks @gsaponaro
doxygen documentation added