[nim] Cleaning up
[nim] Can now get all data from line graph. Useful for the data reader that the javascript queries for data. It should send all the data available at the time, and not one data point at time. Refactoring tests