Adding .gitignore and implemented structured message handling