moved examples from basic to more specific example
implement perl code parses and code implementation for interface