Added functional specification to README.md