changed some aesthetics
constructor only takes in 1 param: dirname. Severity is defined in constructor, and therefore will be defined (or hardcoded) per isntance