Implemented simple source code generator that replaces package def of template