Implement /systeminfo access and refactor a little bit.