Format fixes and LICENSE

Added license file, fixed formatting (tabs to spaces) and added ddox
requirement.