Added licensing and documentation