updating repository path
making templates more extendable and exporting a simple api