adds format() & sets it as default for render()
reorganizes repo dir structure