Added REST stuff for adding stats
Components visible or not