Merge pull request #29 from romeobk/working

code template in packets