Formatted PlotActivity
Added comments to SmartActivity class