Merge pull request #28 from romeobk/working

code template in packets