Added StatBar class and creating initial code therein.

A lot of little setters and even smaller getters and a skeleton layoutChildren function.