Added system enviroment info to the history output

Added an app to build a set of numbers,
Fixed some bugs