added some basic documentation
moved doc into README.md