Refactor rc and html helpers into more organised sources