Cleaning, clickable links

* Cleaned templates a bit
* Made links clibckable
* Distinct output whether data is available
  or not
Reformatting, variables

* Reformatted file
* Refactored var names