Updated licence to MIT.
Updated documentation.