start to implement theme-preprocess

Need to commit now, I need to switch to the master to build doc for a
client