Added gitignore and refactor for mazepacket server-client comm