Refactoring
Use a status object
First step towards multiple status files
Use better_errors