Added quotes around the error variable name to make the subject clear
Started implementing a State module.