Revamped the data to be stored in javascript variables containing custom objects (oop rules)