Made short code reviews and added comments to all classes related to the
potentials-tab.