Merge pull request #11 from evoskuil/master

Complete generator (bc & protocol implemented).