Cleaned up licensing and some documentation.