Init for spm3.
Add gitignores
Update documents.