Removing debugging logs and improving class documentation