commit#15: tabs formatted acording to new vim configuration
commit#16: broke the code into four files
commit#17: re-structured output/. files for energy consumption are now created (all and mean)