Add the bulk of the project

Src files, documentation, format files and examples provided. Some parts
are left outside for copyright issues.