Splitting src, better template structure