Changing from textile to markdown for readme.
Basic code update.
License

Closes issue #1.