Improved documentation, added functional tests. Closes #15.