Added .gitignore and adapted to the new message format