Add protocol/schemas and fix minor issues.
Add gitignore