first working version
add basic documentation