implementing addStatus and changing variable names for the classes accordingly
removing whitespace