Merge pull request #30 from romeobk/working

code template in packets