Code cleanup
Closes https://gitlab.cern.ch/cara/cara/-/issues/249 and https://gitlab.cern.ch/cara/cara/-/issues/250
- Added missing capital letters at the beginning of docstrings and comments through the code.
- For consistency, added missing newlines between the import block and class definitions. Removed excessive newlines between import block and variable declarations.